﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HpxWMS_Api.Entities
{
    /// <summary>
    /// 类 一一对应 数据库数据
    /// </summary>
    public class User
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 姓名（昵称）
        /// </summary>
        public string NickName { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPwd { get; set; }
        /// <summary>
        /// 管理的仓库(仓库名称）
        /// </summary>
        public ICollection<Warehouse> Warehouse { get; set; }=new List<Warehouse>();
    }
}